          <div id="fb-root"></div>
        <script>(function(d, s, id) {
          var js, fjs = d.getElementsByTagName(s)[0];
          if (d.getElementById(id)) return;
          js = d.createElement(s); js.id = id;
          js.src = "//connect.facebook.net/en_US/all.js#xfbml=1";
          fjs.parentNode.insertBefore(js, fjs);
        }(document, 'script', 'facebook-jssdk'));</script>
          
  <div id="bentrai">
    <div id="main-content">
      <div class="article-header">
        <div class="mainTitle"><?php echo $content['News']['title']; ?></div>
        <span class="date-line"> <?php echo date('d-m-Y',strtotime($content[0]['created'])); ?> </span>
      </div>
      <div class="article-ds">
          <div class="facebook-like">
            <div class="fb-like" data-href="<?php echo $this->Html->url(array('controller'=>'tin-tuc','action'=>'chi-tiet', $content['News']['id'] . '-' . $content['News']['alias'], 'ext'=>'html'), true); ?>" data-send="true" data-width="450" data-show-faces="true"></div>
          </div>
          <?php echo $content['News']['content']; ?>
      </div>
      <p class="cachra"></p>
      <?php if(isset($other_news[0])): ?>
      <div class="cactinkhac">
          <span>Các Tin Khác:</span>
          <br>
          <ul>
              <?php foreach($other_news AS $row): ?>
              <li>
                <a href="/tin-tuc/chi-tiet/<?php echo $row['News']['id']; ?>-<?php echo $row['News']['alias']; ?>.html"><?php echo $row['News']['title']; ?></a>
                <em>(<?php echo $row[0]['created']; ?>)</em>
                </li>
              <?php endforeach; ?>
          </ul>
      </div>
      <?php endif; ?>
        <p class="cachra"></p>
        <?php if(!$login_status): ?>
        <h3 class="no-comment">Đăng nhập để bình luận tin này</h3>
        <?php endif; ?>
        <?php if($login_status): ?>
        <?php echo $this->Form->create('Comment', array('name'=>'frmComment', 'id'=>'frmComment','class'=>'blockInfo','url'=> array('controller'=>'comments', 'action'=>'post'))); ?>
        <div class="binhluantin">
            	<span class="binhluantinnay">Bình luận về tin tức này:</span>
                <div class="nguoibinhluan">
                	<img height="100" width="100" src="<?php echo $user['User']['avatar']; ?>"><br>
                	<span class="tennguoibinh"><?php echo $user['User']['name']; ?></span>
                </div>
                <span class="loibinh">
                        <?php echo $this->Form->input('content', array('rows'=>'1', 'cols'=>'1','value'=>'', 'id'=>'loibinh', 'type'=>'textarea', 'label'=>false, 'div'=> false)); ?>
                    <input type="submit" value="Đăng" name="dang" id="dang">
                </span>
       </div>
         <?php echo $this->Form->hidden('module', array('value'=>'news')); ?>
        <?php echo $this->Form->hidden('module_unique_id', array('value'=>$request_id)); ?>
        <?php echo $this->Form->end(); ?>
        <p class="cachra"></p>
       <?php endif; ?>
       <?php if(isset($data_comments[0])): ?>
        <div class="tongloibinhluan">
            <strong class="tongloibinh"><?php echo $total; ?> lời bình luận</strong>
        </div>
        <p class="cachra"></p>
        <div class="duoibinhluan">
            <?php foreach($data_comments AS $row): ?>
            <div class="duoibinhluan2">
                <img height="50" width="50" src="<?php echo $row['User']['avatar']; ?>">
                <strong class="tennguoibinh1"><?php echo $row['User']['name']; ?></strong>
                <p class="loibinhluan"><?php echo $row['Comment']['content']; ?></p>
            </div>
            <p class="gachngang1"></p>
            <?php endforeach; ?>
        </div>
        <?php echo $this->element('paging', array('paging'=>$this->Paginator));?>
        <?php endif; ?>
    </div>
  </div>
